package com.xinhe.web.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
@Data
@ApiModel(description = "买家购物车下单")
public class OrderByShopCartModel {
    @ApiModelProperty("收货地址id")
    private Long addressId;
    @ApiModelProperty("门店id")
    private Long shopId;
    @ApiModelProperty("买家优惠券Id")
    private Long couponMemberId;
    @ApiModelProperty("拼团id，普通订单该字段没值")
    private Long teamBuyId;
    @ApiModelProperty("订单类型 COMMON(\"普通订单\") SECKILL(\"秒杀订单\") EAM(\"拼团订单\")")
    private String type;
    @ApiModelProperty("订单配送类型 MAIL(快递配送) ONESELF_TAKE(门店自提)")
    private String distributionType;
    @ApiModelProperty("拼团商品id，普通订单该字段没值")
    private Long teamGoodsId;

    /*@ApiModelProperty("数量")
    private Integer number;*/

    @ApiModelProperty("购买商品列表")
    private List<SellerOrderModel> sellerOrderList;


}
